/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.lspviolate.lspimpl;

import za.ac.cput.assignment2.lspviolate.Rectangle;

/**
 *
 * @author yandiswa
 */
public class RectangleImpl implements Rectangle {
    int tWidth, tLength;

    public RectangleImpl()
    {}
  
    
    @Override
    public void width(int width) {
        tWidth = width;
    }

    @Override
    public int getWidth() {
        return tWidth;
    }

    @Override
    public void length(int length) {
        tLength = length;
    }

    @Override
    public int getLength() {
        return tLength;
    }

    @Override
    public int Area() {
        return tWidth * tLength;
    }

    
}
